package com.hongye.proprietary.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.hongye.common.utils.PageUtils;
import com.hongye.common.utils.Query;

import com.hongye.proprietary.dao.GroupAgentRelationshipDao;
import com.hongye.proprietary.entity.GroupAgentRelationshipEntity;
import com.hongye.proprietary.service.GroupAgentRelationshipService;


@Service("groupAgentRelationshipService")
public class GroupAgentRelationshipServiceImpl extends ServiceImpl<GroupAgentRelationshipDao, GroupAgentRelationshipEntity> implements GroupAgentRelationshipService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<GroupAgentRelationshipEntity> page = this.page(
                new Query<GroupAgentRelationshipEntity>().getPage(params),
                new QueryWrapper<GroupAgentRelationshipEntity>()
        );

        return new PageUtils(page);
    }

}